import React, { BaseSyntheticEvent } from 'react';
import { Button, Text, View } from 'react-native';

export default function tpl(a: <T>(action: string) => ((ev: BaseSyntheticEvent<T>) => void), s: (class_name: string) => {}) {
	return (
		<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
			<Text>Details Screen</Text>
			<Button
				title="Go to Home"
				onPress={a('a001')}
			/>
			<Button
				title="download"
				onPress={a('a002')}
			/>
			<Button
				title="write file"
				onPress={a('a005')}
			/>
			<Button
				title="read file"
				onPress={a('a006')}
			/>
			<Button
				title="read dir"
				onPress={a('a007')}
			/>
		</View >
	);
}
